package com.rkc.service;

import com.rkc.request.UserLoginRequest;
import com.rkc.request.UserRegisterRequest;
import com.rkc.utils.JsonData;
import com.rkc.vo.UserVO;

/**
 * @author `RKC`
 * @date 2021/10/16 14:55
 */
public interface UserService {

    /**
     * 用户注册
     * @param registerRequest
     * @return
     */
    JsonData register(UserRegisterRequest registerRequest);

    /**
     * 用户登录
     * @param loginRequest
     * @return
     */
    JsonData login(UserLoginRequest loginRequest);

    /**
     * 查看用户详情
     * @return
     */
    UserVO findUserDetail();
}
